<!DOCTYPE html>
<html>
<iframe srcdoc=""></iframe>
<script>
if (window.testRunner)
    testRunner.dumpAsText();

window.onload = function() {
    frames[0].onunload = function() {
        document.open();
        document.write("PASS. WebKit didn't crash.");
        document.close();
    };

    frames[0].frameElement.remove();
};
</script>
</html>
